﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;

namespace ValidationFramework.Configuration
{
    public interface IConfigureRuleExpression
	{
        void AddRuleTo<TTType>(Expression<Func<TTType, object>> property, Rule rule, RuleScope scope);
		void AddPropertuRule(PropertyKey key, Rule rule, RuleScope scope);
        void AddFieldRule(FieldKey key, Rule rule, RuleScope scope);
        void AddParameterRule(ParameterKey key, Rule rule, RuleScope scope);
	}
}
